xen/string: Clean up {xen,arm}/string.h
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 12 May 2017 16:15:36 +0000 (17:15 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 31 May 2017 13:05:18 +0000 (14:05 +0100)
commitb02728b3b689e145a52c46cd9eae5be48e905df7
tree7332bb24f169a404cddad2798401a59ceccd2961
parent382329d44da8269b77d236a47ddb04747b7495a3
xen/string: Clean up {xen,arm}/string.h

 * Drop __kernel_size_t entirely.  It isn't a useful distinction, especially
   as it means the the prototypes don't appear to match their common
   definitions.
 * Introduce __HAVE_ARCH_* guards for strpbrk(), strsep() and strspn(), which
   match their implementation in common/string.c
 * Apply consistent Xen style throughout.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/include/asm-arm/string.h
xen/include/xen/string.h